package com.demo.service;

import java.util.List;

import com.demo.model.Message;

public interface MessageService {

	long save(Message message);

	Message getMessageById(Long id);

	List<Message> getMessages();

	Integer deleteMessage(Long id);

	Integer updateMessage(Message message);
}
